import fs from 'fs';
import Koa from 'koa';
import Router from "koa-router";
import userRouter from './userRouter'
// import process from 'process';
const router = new Router();
// router.all('/', function(ctx:Koa.Context){
//     // console.log(__dirname);
    
//     ctx.body=fs.readFileSync(`${process.cwd()}/public/index.html`,"utf8");
// })
router.use('/user', userRouter.routes())


export default router





